<?php
class BadRequest extends Exception{
	public function __construct($message=null,$code=null){
		parent::__construct($message,$code);
		header("Status:400");
	}
}